import unittest
import requests
import json
import excelutils


class TestCase(unittest.TestCase):
    data = excelutils.read_excel("http://192.168.1.62:8030")

    @classmethod
    def setUpClass(cls) -> None:
        cls.session = requests.Session()
        cls.session.headers = json.loads(TestCase.data[0]['request_header'])
        print('初始化完毕...')

    @classmethod
    def tearDownClass(cls) -> None:
        print('执行完成...')


def main():
    unittest.main()
